import Mock from 'mockjs';

// 拦截/api/blogtype，让请求数据不在请求没搭建好的接口，转而使用mock模拟数据
// 根据接口文档模拟数据
Mock.mock("/api/banner", 'get', {
    code: 0,
    msg: '',
    data: [
        {
            id: "1",
            midImg: "https://w.wallhaven.cc/full/ym/wallhaven-ymd8zk.jpg?size=200*112",
            bigImg: "https://w.wallhaven.cc/full/ym/wallhaven-ymd8zk.jpg",
            title: "威龙",
            description: "斗破苍穹遨广宇",
        },
        {
            id: "2",
            midImg: "https://w.wallhaven.cc/full/1k/wallhaven-1krv69.png?size=200*112",
            bigImg: "https://w.wallhaven.cc/full/1k/wallhaven-1krv69.png",
            title: "高隐身性",
            description: "翱翔碧空隐身凝",
        },
        {
            id: "3",
            midImg: "https://w.wallhaven.cc/full/lq/wallhaven-lq2ory.jpg?size=200*112",
            bigImg: "https://w.wallhaven.cc/full/lq/wallhaven-lq2ory.jpg",
            title: "高态势感知",
            description: "护卫蓝天强国威",
        },
    ]

})